<?php
//路由配置
return [
    'ignoreLastSlash' => true,
    'autoRoute' => 1, //开启自动路由
    'controllerNamespace' => 'app\api\controllers',
    'controllerSuffix' => '',
];